// vite 跨域配置
module.exports = {
    proxy: {
        '/api': {
            target: "https://pvp.qq.com/",
            rewrite: path => path.replace(/^\/api/, ''),
            changeOrigin: true //允许跨域
        }
    }
} 